import axios from "axios";

let baseUrl=process.env.API_URL;

export const GET=(url,params)=>{
	return axios.get(`${baseUrl}${url}`,params).then((data)=>data)
}

export const POST=(url,params)=>{
	return axios.post(`${baseUrl}{url}`,params).then(data=>data)
}